from django.urls import path
from rest_framework import routers

from dvadmin_wechat.views.FanGroups import FanGroupsViewSet
from dvadmin_wechat.views.FanManagement import FanManagementViewSet
from dvadmin_wechat.views.FanTags import FanTagsViewSet
from dvadmin_wechat.views.OfficialAccountManagement import OfficialAccountManagementViewSet

router_url = routers.SimpleRouter()
router_url.register(r'official_account_management', OfficialAccountManagementViewSet)
router_url.register(r'fan_management', FanManagementViewSet)
router_url.register(r'fan_tags', FanTagsViewSet)
router_url.register(r'fan_groups', FanGroupsViewSet)
urlpatterns = [
]
urlpatterns += router_url.urls
